
public class Main {

	/**
	 * @param args
	 */
	public static void main(String[] args) {
		/*Integer array[]={1,2,3,4,5,6,7,8,9,10,11,12};
		MyFirstBinarySearchTree<Integer> bst=new MyFirstBinarySearchTree<Integer>(array);
		System.out.println(bst);
		*/
		MyBinaryTree<Integer> bt=new MyBinaryTree<Integer>(4,
				new MyBinaryTree<Integer>(1,null,
						new MyBinaryTree<Integer>(3,null,null)),
				new MyBinaryTree<Integer>(6,null,
						new MyBinaryTree<Integer>(9,null,null)));/*
								new MyBinaryTree<Integer>(12,null,
										new MyBinaryTree<Integer>(13,null,null)))));*/
		System.out.println(bt.elem);
		System.out.println(bt.isBST());
		System.out.println(bt.isAVL());
	}

}
